package net.roseparadise.dao;

import java.math.BigInteger;
import java.util.List;

import net.roseparadise.model.Album;

public interface AlbumDAO {
	   public void save(Album transientInstance);
	    
		public void delete(Album persistentInstance);
	    
	    public Album findById( java.lang.Integer id);
	    
	    public List<Album> findByExample(Album instance);
	    
	    public List findByProperty(String propertyName, Object value);

		public List<Album> findByIsstudio(Object isstudio);
		
		public List<Album> findByMemberid(Object memberid);
		
		public List<Album> findByCreatedate(Object createdate);
		
		public List<Album> findByAlbumname(Object albumname);
		
		public List getStudioAlbumList(final int startRow, final int maxCount) ;
		
	    public BigInteger countStudioAlbumList();
	    
	    public List getMemberAlbumList(final int memberid,final int startRow, final int maxCount);
	    
	    public BigInteger countMemberAlbumList(final int memberid);		

		public List findAll();
		
	    public Album merge(Album detachedInstance) ;

}
